﻿using System;
using System.ServiceModel;
namespace Skynet.Services.Capture
{
    /// <summary>
    /// ICaptureServiceCallback
    /// </summary>
    public interface ICaptureServiceCallback
    {
        [OperationContract(IsOneWay = true)]
        void OnMessage(string message);
        
        [OperationContract(IsOneWay = true)]
        [ServiceKnownType(typeof(AudioFrame))]
        [ServiceKnownType(typeof(VideoFrame))]
        void OnFrame(FrameBase frame);
    }
}
